<template>
  <div>
  	首页
    <br><br>
    <!-- <p v-for="item in sites" :key="item.id" @click="getDetali(item.id)">{{item.name}}</p> -->
    <router-link to="/login">登录</router-link>
    
    <router-link to="/detali">详情</router-link>
  </div>
</template>

<script>
  export default{
    name:'Index',
   
    methods:{
      getDetali(id){
        this.$router.push({name:'detali',params:{id:id}})
      }
    }
  }
</script>

<style>
</style>
